#!/bin/sh
#发送消息到钉钉
data='{"msgtype": "markdown", 
        "markdown": {
             "title":"'$2'",
             "text": "'$3'"
        }
      }'
#echo $data
curl $1 -H 'Content-Type: application/json' -d "$data"